package Entity;

import java.text.DecimalFormat;
/**
 * 
 * Entity: StatisticsAllDogsByAge.
 * contain StatisticsAllDogsByAge Entity properties along with getters and setters to each property.
 * Also contain constructors.
 * This Entity is design to group Statistical information about tests and dogs, grouped by age
 *
 */


public class StatisticsAllDogsByAge {

	Integer age;
	Double Enterprise_avg;
	Double Enterprise_std;
	Double Courage_avg;
	Double Courage_std;
	Double Bite_avg;
	Double Bite_std;
	Double Security_avg;
	Double Security_std;
	Double Search_avg;
	Double Search_std;
	Double SE_Enterprise;
	Double SE_Courage;
	Double SE_Bite;
	Double SE_Security;
	Double SE_Search;
	DecimalFormat df = new DecimalFormat("#.00");
	
	/**
	 * 
	 * @return Enterprise test Standard Error, rounded 2 point after decimal point
	 */
	public Double getSE_Enterprise() {
		return Double.parseDouble(df.format(SE_Enterprise));
	}

	/**
	 * 
	 * @param sE_Enterprise Enterprise test Standard Error
	 */
	public void setSE_Enterprise(Double sE_Enterprise) {
		SE_Enterprise = sE_Enterprise;
	}
/**
 * 
 * @return Courage test Standard Error, rounded 2 point after decimal point
 */
	public Double getSE_Courage() {
		return Double.parseDouble(df.format(SE_Courage));
	}
/**
 * 
 * @param sE_Courage Courage test Standard Error
 */
	public void setSE_Courage(Double sE_Courage) {
		SE_Courage = sE_Courage;
	}
/**
 * 
 * @return Bite test Standard Error, rounded 2 point after decimal point
 */
	public Double getSE_Bite() {
		return Double.parseDouble(df.format(SE_Bite));
	}
/**
 * 
 * @param sE_Bite Bite test Standard Error
 */
	public void setSE_Bite(Double sE_Bite) {
		SE_Bite = sE_Bite;
	}
/**
 * 
 * @return Security test Standard Error, rounded 2 point after decimal point
 */
	public Double getSE_Security() {
		return Double.parseDouble(df.format(SE_Security));
	}
/**
 * 
 * @param sE_Security Security test Standard Error
 */
	public void setSE_Security(Double sE_Security) {
		SE_Security = sE_Security;
	}
/**
 * 
 * @return Search test Standard Error, rounded 2 point after decimal point
 */
	public Double getSE_Search() {
		return Double.parseDouble(df.format(SE_Search));
	}
/**
 * 
 * @param sE_Search Search test Standard Error
 */
	public void setSE_Search(Double sE_Search) {
		SE_Search = sE_Search;
	}
/**
 * 
 * @return the age of the dog while performing the tests 
 */
	public Integer getAge() {
		return age;
	}
	
	/**
	 * StatisticsAllDogsByAge constructor (no parameters)
	 */
	public StatisticsAllDogsByAge() {
		
	age=null;
	Enterprise_avg=null;
	Courage_avg=null;
	Bite_avg=null;
	Security_avg=null;
	Search_avg=null;
	Enterprise_std=null;
	Courage_std=null;
	Bite_std=null;
	Security_std=null;
	Search_std=null;
	SE_Enterprise=null;
	SE_Courage=null;
	SE_Bite=null;
	SE_Security=null;
	SE_Search=null;

	
	}
	/**
	 * 
	 * @return Enterprise test standard deviation, rounded 2 point after decimal
	 */
	public Double getEnterprise_std() {
		return Double.parseDouble(df.format(Enterprise_std));
	}
/**
 * 
 * @param enterprise_std Enterprise test standard deviation
 */
	public void setEnterprise_std(Double enterprise_std) {
		Enterprise_std = enterprise_std;
	}
/**
 * 
 * @return Courage test standard deviation, rounded 2 point after decimal
 */
	public Double getCourage_std() {
		return Double.parseDouble(df.format(Courage_std));
	}
/**
 * 
 * @param courage_std courage test standard deviation
 */
	public void setCourage_std(Double courage_std) {
		Courage_std = courage_std;
	}
/**
 * 
 * @return Bite test standard deviation, rounded 2 point after decimal
 */
	public Double getBite_std() {
		return Double.parseDouble(df.format(Bite_std));
	}
/**
 * 
 * @param bite_std Bite test standard deviation
 */
	public void setBite_std(Double bite_std) {
		Bite_std = bite_std;
	}
/**
 * 
 * @return Security test standard deviation, rounded 2 point after decimal
 */
	public Double getSecurity_std() {
		return Double.parseDouble(df.format(Security_std));
	}
/**
 * 
 * @param security_std Security test standard deviation
 */
	public void setSecurity_std(Double security_std) {
		Security_std = security_std;
	}
/**
 * 
 * @return Search test standard deviation, rounded 2 point after decimal
 */
	public Double getSearch_std() {
		return Double.parseDouble(df.format(Search_std));
	}
/**
 * 
 * @param search_std Search test standard deviation
 */
	public void setSearch_std(Double search_std) {
		Search_std = search_std;
	}

	/**
	 * 
	 * @param age the age of the dog while performing the tests 
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
	/**
	 * 
	 * @return Enterprise test Average, rounded 2 point after decimal
	 */
	public Double getEnterprise_avg() {
		return Double.parseDouble(df.format(Enterprise_avg));
	}
	/**
	 * 
	 * @param enterprise_avg Enterprise test Average
	 */
	public void setEnterprise_avg(Double enterprise_avg) {
		Enterprise_avg = enterprise_avg;
	}
	/**
	 * 
	 * @return Courage test Average, rounded 2 point after decimal
	 */
	public Double getCourage_avg() {
		return Double.parseDouble(df.format(Courage_avg));
	}
	/**
	 * 
	 * @param courage_avg Courage test Average
	 */
	public void setCourage_avg(Double courage_avg) {
		Courage_avg = courage_avg;
	}
/**
 * 
 * @return Bite test Average, rounded 2 point after decimal
 */
	public Double getBite_avg() {
		return Double.parseDouble(df.format(Bite_avg));
	}
	/**
	 * 
	 * @param bite_avg Bite test Average
	 */
	public void setBite_avg(Double bite_avg) {
		Bite_avg = bite_avg;
	}
	/**
	 * 
	 * @return Security test Average, rounded 2 point after decimal
	 */
	public Double getSecurity_avg() {
		return Double.parseDouble(df.format(Security_avg));
	}
	/**
	 * 
	 * @param security_avg Security test Average
	 */
	public void setSecurity_avg(Double security_avg) {
		Security_avg = security_avg;
	}
	/**
	 * 
	 * @return Search test Average, rounded 2 point after decimal
	 */
	public Double getSearch_avg() {
		return Double.parseDouble(df.format(Search_avg));
	}
	/**
	 * 
	 * @param search_avg Search test Average
	 */
	public void setSearch_avg(Double search_avg) {
		Search_avg = search_avg;
	}
}
